package com.swind.fast.modules.app.halali.customer.service;

import com.swind.fast.modules.app.halali.customer.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;

import com.swind.fast.modules.app.halali.customer.entity.OrderItem;
import com.swind.fast.modules.app.halali.customer.vo.response.CartPriceVo;

import java.util.List;

/**
 * @Description: 项目
 * @Author: swind
 * @Date:   2021-11-20
 * @Version: V1.0
 */
public interface ICartService extends IService<Cart> {

    CartPriceVo calcOrder(List<OrderItem> orderItems);
    CartPriceVo calcPrice(OrderItem[] orderItems);

}
